#include<iostream>
#include<conio.h>
#include"Time.h"
using namespace std;
int main()
{
	Time t1(23, 59, 59);
	t1.printf();
	t1.setHour(12);
	t1.setMinute(30);
	t1.setSecond(15);
	t1.printf();
	cout << "Hour is: " << t1.getHour() << endl;
	cout << "Minute is: " << t1.getMinute() << endl;
	cout << "Second is:" << t1.getSecond() << endl;
	Time t2(23,59,59);
	t2.printf();
	t2.setHour(12);
	t2.setMinute(30);
	t2.setSecond(15);
	t2.printf();
	cout << "Hour is: " << t2.getHour() << endl;
	cout << "Minute is: " << t2.getMinute() << endl;
	cout << "Second is:" << t2.getSecond() << endl;
	Time t3(23, 59, 59);
	t3.printf();
	t3.setHour(12);
	t3.setMinute(30);
	t3.setSecond(15);
	t3.printf();
	cout << "Hour is: " << t3.getHour() << endl;
	cout << "Minute is: " << t3.getMinute() << endl;
	cout << "Second is:" << t3.getSecond() << endl;
	Time t4(23, 59, 59);
	t4.printf();
	t4.setHour(12);
	t4.setMinute(30);
	t4.setSecond(15);
	t4.printf();
	cout << "Hour is: " << t4.getHour() << endl;
	cout << "Minute is: " << t4.getMinute() << endl;
	cout << "Second is:" << t4.getSecond() << endl;
	Time t5(23, 59, 59);
	t5.printf();
	t5.setHour(12);
	t5.setMinute(30);
	t5.setSecond(15);
	t5.printf();
	cout << "Hour is: " << t5.getHour() << endl;
	cout << "Minute is: " << t5.getMinute() << endl;
	cout << "Second is:" << t5.getSecond() << endl;
	_getch();
}